html,body{
    margin:0px;
    padding:0px;
    position: relative;
    width:calc( 100vw );
    height:calc( 100vh );
}

p,ul,li{
    margin:0px;
    padding:0px;
}

ul,li {
    list-style: none;
}

#app {
    margin:0px;
    padding:0px;
    position: relative;
    width:calc( 100vw );
    height:calc( 100vh );
    overflow: auto;
}

input,textarea{
    -webkit-appearance:none;
}

.cb{
    clear: both;
}

.fr{
    float: right;
}

/* components */

/* picker */
.com-picker-mask{
    position: absolute;
    top:0px;
    left:0px;
    width: calc( 100vw );
    height: calc( 100vh );
}

.com-picker-mask.ani{
    background-color: rgba(0, 0, 0, 0);
    /* transition: background-color .2s linear; */
}

.com-picker-mask.ani-active{
    background-color: rgba(0, 0, 0, 0.5);
    position: fixed;
    z-index: 999;
}

.com-picker{
    width:100%;
    max-height:calc( 50vh );
    overflow: auto;
    background-color: #FFF;
    position: absolute;
    left:0px;
}

.com-picker.ani{
    bottom:calc( -50vh );
    transition: bottom .2s linear;
}

.com-picker.ani-active{
    bottom:calc( 0vh );
}

.com-picker a {
    display: block;
    width:100%;
    height:40px;
    line-height: 40px;
    color:#333;
    border-bottom:1px solid #E6E6E6;
    text-align:center;
    text-decoration: none;
}

/* ratebox */

.com-ratebox{
    display: inline-block;
    position: relative;
}

.com-ratebox .starbox img{
    width:35px;
    height:35px;
    margin:0px 5px;
}

.com-ratebox .ctrlbox{
    position: absolute;
    z-index:33;
    top:0px;
    left:0px;
    width:100%;
    height:35px;
}

.com-ratebox .ctrlbox span{
    display: block;
    float: left;
    width:20%;
    height:35px;
}

/* inline-picker */

.com-inlinepicker a {
    display: inline-block;
    background-color: #BFBFBF;
    color:#FFF;
    padding:0px 8px;
    font-size:16px;
    margin-right:5px;
    text-decoration: none;
}

.com-inlinepicker a.active{
    background-color: #009DE6;
}

/* imgupload */
.global-upload-layer{
  position: fixed;
  width: 100%;
  height: calc(100vh);
  line-height: calc(115vh);
  text-align: center;
  background-color: rgba(0, 0, 0, 0.5);
  color:#FFF;
  font-size:20px;
  top: 0px;
  left: 0px;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url(/assets/wechat/loading.gif);
  z-index: 9999;
}
/* sel */

.com-sel{
    width:100%;
    position: relative;
    color:#999;
    margin-bottom:12px;
}
.com-sel2,.com-sel3{
    margin:10px 0px;
}
.com-sel span.title{
    font-size: 15px;
    display: inline-block;
    width:90px;
    height:35px;
    line-height:35px;
}

.com-sel2 span.title,.com-sel3 span.title{
    font-family: PingFangSC-Regular;
    font-size: 16px;
    color: #333333;
}
.com-sel3 .div .span{
    width: 48px;
    display: inline-block;
    font-family: PingFangSC-Medium;
    font-size: 14px;
    color: #CCCCCC;
    text-align: center;
    margin:0px 5px;
}

.com-sel span.seldiv{
    display: inline-block;
    width:calc( 100% - 90px);
    height:34px;
    line-height:34px;
    border-bottom:1px solid #999;
    padding-left:5px;
    box-sizing: border-box;
    position: relative;
}

/* com-sel2是 sel2 组件中的 在saledeclar.jsx中用到 */
/* com-sel1是 radiopicker1 组件中的 在declaration.jsx中用到 */
.com-sel2 span.sel2div{
    float:right;
    padding-left:5px;
    box-sizing: border-box;
    position: relative;
    /* padding-right:10px; */
    text-align:right;
    font-family: 'PingFangSC-Regular';
    font-size: 14px;
    color: #ccc;
}

.com-sel span.seldiv.b{
    width:calc( ( 100% - 120px ) / 2 );
}

.com-sel  span.seldiv span.icon{
    position: absolute;
    display: block;
    top:0px;
    right:10px;
    width:35px;
    height:35px;
    line-height:35px;
    text-align: center;
    transform: rotate(-90deg);
}

.com-sel input {
    border:none;
    border-bottom:1px solid #999;
    width:calc( 100% - 100px);
    height:34px;
    line-height:34px;
    outline:none;
    box-sizing: border-box;
    padding-left:20px;
    font-size:15px;
    color:#999;
}

span.dot{
    display: inline-block;
    width:15px;
    height:15px;
    border-radius:50%;
    border:1px solid #999;
    margin-right: 5px;
    vertical-align: middle;
    text-align: center;
    position: relative;
}

span.dot i {
    position: absolute;
    display: block;
    border-radius: 50%;
    top:4px;
    left:4px;
    width:7px;
    height:7px;
    background-color: #009DE6;
}

.mt{
     margin-top: 5px;
}
/* .com-sel1 */
.com-sel1{
    width:100%;
    position: relative;
    color:#999;
    margin-bottom:12px;
}

.com-sel1 p.title1{
    font-family: PingFangSC-Regular;
    font-size: 16px;
    color: #333333;
    margin-bottom: 5px;
}

.com-sel1 span.dot1,
.com-sel2 span.dot1{
    display: inline-block;
    width:12px;
    height:12px;
    border-radius:50%;
    border:1px solid #ccc;
    margin-right: 5px;
    vertical-align: middle;
    text-align: center;
    position: relative;
    top: -2px;
}

.com-sel1 span.dot1 i,
.com-sel2 span.dot1 i{
    position: absolute;
    display: block;
    border-radius: 50%;
    top: -1px;
    left: -1px;
    width: 12px;
    height: 12px;
    border:1px solid #FC5D5F;
    background-color:  #FC5D5F;
}

/* .span是com-sel3下的元素，在radiopicker2文件中，用于解决saledeclar中的产品类型 */
.com-sel3 .span span.dot1{
    display: inline-block;
    width: 12px;
    height: 12px;
    position: relative;
    top: -2px;
}

.com-sel3 .span span.dot1 i{
    position: absolute;
    display: block;
    top: -1px;
    left: -1px;
    width: 48px;
    height: 20px;
    background: #F55A5C;
    border-radius: 6px;
    font-style: normal;
    font-family: PingFangSC-Medium;
    font-size: 14px;
    color: #FFFFFF;
}

/* ajax layer */

.com-ajax-layer{
    position: fixed;
    top:0px;
    left:0px;
    width:calc( 100vw );
    height:calc( 100vh );
    z-index:9999;
    background-image: url(/assets/wechat/loading.gif);
    background-repeat: no-repeat;
    background-position: center;
}

.com-imgview{
    position: absolute;
    top:0px;
    left:0px;
    width:calc( 100vw );
    height:calc( 100vh );
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.7)
}

.com-imgview img{
    width:100%;
}